package com.lantian.yjmall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lantian.common.utils.PageUtils;
import com.lantian.yjmall.product.entity.AttrGroupEntity;
import com.lantian.yjmall.product.vo.AttrGroupWithAttrsVo;

import java.util.List;
import java.util.Map;

/**
 * 属性分组
 *
 * @author lyj
 * @email 945874570@qq.com
 * @date 2020-05-31 15:55:51
 */
public interface AttrGroupService extends IService<AttrGroupEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils queryPage(Map<String, Object> params, Long catelogId);
    // 根据三级分类id 查询分类下的分组及属性信息
    List<AttrGroupWithAttrsVo> getAttrGroupWithAttrsByCatelogId(Long catelogId);
}

